package com.example.server.web.mapper;

import com.example.server.web.domain.QuestionnaireSummary;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.server.web.domain.dto.QuestionnaireSummaryMutilDto;
import com.example.server.web.domain.vo.QuestionnaireSummaryMutilVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author YHJ
* @description (问卷汇总) mapper
*/
public interface QuestionnaireSummaryMapper extends BaseMapper<QuestionnaireSummary> {

    /**
     * 获取参与班级评教教师人数
     * @return
     */
    Integer getClassTeacherNum(@Param("year")String year ,@Param("classId") Long classId);

    /**
     * 获取参与学院评教教师人数
     * @return
     */
    Integer getAcademyTeacherNum(@Param("year")String year ,@Param("academyId") Long academyId);

    List<QuestionnaireSummaryMutilVo> getPageMulti(QuestionnaireSummaryMutilDto summaryDto);
}




